package org.example.domain.vo.report.materialStock.billDetail;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.example.domain.vo.report.materialStock.TableTitle;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@ApiModel(description = "商品报表详情父数据")
public class BaseInventory {
    @ApiModelProperty("订单类型")
    private String type;
    
    @ApiModelProperty("分类")
    private String subType;
    
    @ApiModelProperty("标题")
    private String title;
    
    @ApiModelProperty("单据日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date operTime;
    
    @ApiModelProperty("单据编号")
    private String headNumber;
    
    @ApiModelProperty("表格数据")
    private List<BaseTable> tableData;
    
    @ApiModelProperty("表格表头")
    private List<TableTitle> tableTitle;
}
